A construction machine comprising: a machine body; a working device mounted on the machine body; and a control device that controls a motion of the working device, wherein: the working device includes a working device body (10, 20) having a proximal end portion connected to the machine body and a distal end opposite thereto, a bucket attached to the distal end of the working device body (10, 20) so as to be capable of performing a first rotational motion and a second rotational motion relative to the distal end, and a plurality of bucket actuators (32, 35) that actuate the bucket relatively to the working device body (10, 20); the first rotational motion is a pitch motion that is a rotational motion about a bucket lateral axis parallel to a width direction of the bucket, and the second rotational motion is a rotational motion about an axis in a direction orthogonal to the bucket lateral axis; and the plurality of bucket actuators (32, 35) include a first bucket actuator that makes the bucket perform the first rotational motion and a second bucket actuator that makes the bucket perform the second rotational motion; characterized in that the control device is configured to control the second bucket actuator so as to make the second bucket actuator periodically oscillate the bucket based on the second rotational motion in a state where the bucket is in pressure contact with the ground. a machine body; a working device mounted on the machine body; and a control device that controls a motion of the working device, wherein: the working device includes a working device body (10, 20) having a proximal end portion connected to the machine body and a distal end opposite thereto, a bucket attached to the distal end of the working device body (10, 20) so as to be capable of performing a first rotational motion and a second rotational motion relative to the distal end, and a plurality of bucket actuators (32, 35) that actuate the bucket relatively to the working device body (10, 20); the first rotational motion is a pitch motion that is a rotational motion about a bucket lateral axis parallel to a width direction of the bucket, and the second rotational motion is a rotational motion about an axis in a direction orthogonal to the bucket lateral axis; and the plurality of bucket actuators (32, 35) include a first bucket actuator that makes the bucket perform the first rotational motion and a second bucket actuator that makes the bucket perform the second rotational motion; characterized in that the control device is configured to control the second bucket actuator so as to make the second bucket actuator periodically oscillate the bucket based on the second rotational motion in a state where the bucket is in pressure contact with the ground. the working device includes a working device body (10, 20) having a proximal end portion connected to the machine body and a distal end opposite thereto, a bucket attached to the distal end of the working device body (10, 20) so as to be capable of performing a first rotational motion and a second rotational motion relative to the distal end, and a plurality of bucket actuators (32, 35) that actuate the bucket relatively to the working device body (10, 20); the first rotational motion is a pitch motion that is a rotational motion about a bucket lateral axis parallel to a width direction of the bucket, and the second rotational motion is a rotational motion about an axis in a direction orthogonal to the bucket lateral axis; and the plurality of bucket actuators (32, 35) include a first bucket actuator that makes the bucket perform the first rotational motion and a second bucket actuator that makes the bucket perform the second rotational motion; characterized in that the control device is configured to control the second bucket actuator so as to make the second bucket actuator periodically oscillate the bucket based on the second rotational motion in a state where the bucket is in pressure contact with the ground.